package com.cskaoyan.day10;

public class OverrideTest {
}

class People {
    public Animal test(){
        return new Animal();
    }
}

class Student extends People{
    @Override
    public Cat  test() {
        return new Cat();
    }
}
class Animal{

}
class Cat extends Animal{

}
